Conversation
Walkthrough여러 화면에서 UI와 플로우가 수정되었습니다. 약 추가 후의 네비게이션 및 팝업 표시 방식이 변경되었고, 약 기록 화면은 남은 복용 횟수 계산과 낙관적 업데이트를 도입했습니다. 홈 대시보드는 가족/자녀 컨텍스트를 인지하도록 로직이 확장되었으며, 일부 텍스트/스타일과 그래프 축 라벨링, 사진 상세의 뒤로가기 UI가 조정되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
actor User
participant AddPill as AddPillScreen
participant Prev as PreviousScreen
participant UI as Dialog
User->>AddPill: 약 정보 제출
AddPill-->>Prev: Navigator.pop(context, true)
Note right of Prev: 결과 true 수신
Prev->>Prev: (옵션) 상태 갱신/재조회
Prev-->>UI: 100ms 지연 후 PillUpdatePopup 표시
sequenceDiagram
actor User
participant History as PillHistoryScreen
participant Svc as Server
History->>Svc: 오늘 스케줄 조회
Svc-->>History: intakeTimes, dayIntakeStatus
History->>History: 남은 복용(_todayPillCount) 계산
User->>History: 복용 추가
History->>History: _todayPillCount-- (낙관적)
History->>Svc: 기록 추가
alt 실패
History->>History: _todayPillCount++ (롤백)
end
User->>History: 복용 삭제
History->>History: _todayPillCount++
History->>Svc: 기록 삭제
alt 실패
History->>History: _todayPillCount--
end
sequenceDiagram
actor User
participant Home as HomeDonutCapsule
participant Prefs as PrefsManager
participant Fam as FamilyService
participant API as Server APIs
User->>Home: 화면 진입/앱 재개
Home->>Prefs: isParent 조회
alt 자녀
Home->>Fam: 가족 구성원 조회
loop 부모별
Home->>API: 알약 스케줄 조회 (타임아웃 5s)
API-->>Home: 스케줄
Home->>Home: 최근 예정 복용 계산
end
Home->>Home: 통증/걸음 집계 및 문구 구성
else 부모
Home->>API: 개인 데이터 조회
Home->>Home: 기존 로직으로 문구 구성
end
Home-->>User: 대시보드 갱신
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (7)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
* fix: 마음기록 입력 화면 뒤로가기 타화면과 통일 * fix: 온도그래프 수정 * fix: 온도그래프 수정 * fix: 약 사이드바 연결 지연 업그레이드 * fix: 온도그래프 오류 수정 * fix: 온도그래프 오류 수정 * fix: 오류 수정 * feat: 자녀화면 건강기록 세부 * feat: 자녀화면 사이드바 구현
Summary by CodeRabbit